package com.wl2o2o.lanqiao.xzfourteen;

//import java.io.BufferedReader;
//import java.io.FileInputStream;
//import java.io.IOException;
//import java.io.InputStreamReader;
//import java.io.OutputStreamWriter;
//import java.io.PrintWriter;


/** 
* @author : WLei224
* @date ：2023年3月17日 下午5:04:20 
* 
*/
//答案342693


import java.io.*;
import java.math.BigInteger;


public class 小蓝做实验 {
  public static void main(String[] args) throws IOException {
      BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream("D:\\BaiduNetdiskDownload\\primes.txt")));
      int count = 0;
      while (true) {
          String s = br.readLine();
          if (s == null)
              break;
          BigInteger a = new BigInteger(s);
          if (a.isProbablePrime(10)) {
              count++;
          }
      }
      System.out.println(count);
      System.out.println(342693);
  }
}
